/**
 * Copyright (c) 2018 开源 All rights reserved.
 *
 * https://www.chengcang.com
 *
 * 版权所有，侵权必究！
 */

package com.chengcang.admin.modules.sys.dto;

import com.chengcang.common.validator.group.AddGroup;
import com.chengcang.common.validator.group.DefaultGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 角色管理
 *
 * @author zhanli
 * @since 1.0.0
 */
@Data
@ApiModel(value = "角色用户管理")
public class SysRoleUserUnbindDTO implements Serializable {
    private static final long serialVersionUID = 1L;


	/**
	 * 角色ID
	 */
	@ApiModelProperty(value = "角色ID")
	@NotNull(message = "角色ID不能为空", groups = {DefaultGroup.class, AddGroup.class})
	private Long roleId;
	/**
	 * 用户ID
	 */
	@ApiModelProperty(value = "用户ID列表")
	@NotNull(message = "用户ID不能为空", groups = {DefaultGroup.class, AddGroup.class})
	private Long userId;

}